package com.czy.workflow.core.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * Created by admin on 2019/8/27.
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Component
public @interface TaskExecutorMethod {

    /**
     * Name of executor
     * @return
     */
    String value() default "";


    /**
     * Code of node
     * @return
     */
    String nodeCode();


    /*
        extend:
        节点作用范围
     */
}
